package com.zpf.service;

import com.zpf.pojo.Cart;

import java.util.List;

public interface CartService {
//    添加商品到购物车中
    boolean createCart(Integer uid, Integer pid);

    List<Cart> findCartListByUid(Integer uid);

    void updateCart(Integer cid,Integer num);

    void deleteById(Integer id);
}
